FROM node:20.18
RUN mkdir -p /home/service
WORKDIR /home/service
COPY ./blog_interface/. /home/service
RUN npm config set registry https://registry.npmmirror.com
RUN npm install
EXPOSE 3000
CMD [ "npm","run","build"]
